package com.dds.system.service.union;

import java.util.List;
import com.dds.system.domain.union.UnionShopOrderProfit;

/**
 * 商户(线下)订单分润Service接口
 * 
 * @author gaolianjie
 * @date 2021-04-01
 */
public interface IUnionShopOrderProfitService 
{
    /**
     * 查询商户(线下)订单分润
     * 
     * @param id 商户(线下)订单分润ID
     * @return 商户(线下)订单分润
     */
    public UnionShopOrderProfit selectUnionShopOrderProfitById(Integer id);

    /**
     * 查询商户(线下)订单分润列表
     * 
     * @param unionShopOrderProfit 商户(线下)订单分润
     * @return 商户(线下)订单分润集合
     */
    public List<UnionShopOrderProfit> selectUnionShopOrderProfitList(UnionShopOrderProfit unionShopOrderProfit);

    /**
     * 新增商户(线下)订单分润
     * 
     * @param unionShopOrderProfit 商户(线下)订单分润
     * @return 结果
     */
    public int insertUnionShopOrderProfit(UnionShopOrderProfit unionShopOrderProfit);

    /**
     * 修改商户(线下)订单分润
     * 
     * @param unionShopOrderProfit 商户(线下)订单分润
     * @return 结果
     */
    public int updateUnionShopOrderProfit(UnionShopOrderProfit unionShopOrderProfit);

    /**
     * 批量删除商户(线下)订单分润
     * 
     * @param ids 需要删除的商户(线下)订单分润ID
     * @return 结果
     */
    public int deleteUnionShopOrderProfitByIds(Integer[] ids);

    /**
     * 删除商户(线下)订单分润信息
     * 
     * @param id 商户(线下)订单分润ID
     * @return 结果
     */
    public int deleteUnionShopOrderProfitById(Integer id);
}
